package com.atmilan.quartz.model.entity.guanjp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 管家婆主商品
 * @author daigb
 * @date:  2022-12-14 16:07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class GuanjpProduct extends Model<GuanjpProduct> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @JsonProperty(value = "id")
    private String goodsId;
    
    private String usercode;
    
    private String barcode;
    
    private String fullname;
    
    private String standard;
    
    private BigDecimal price;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后拉取时间
     */
    private Date updateTime;

}
